// import Home from '@/pages/Home'
const Home = () => import('@/pages/Home')
// import Login from '@/pages/Login'
const Login = () => import('@/pages/Login')
// import Detail from '@/pages/Detail'
const Detail = () => import('@/pages/Detail')
// import ShopCart from '@/pages/ShopCart'
const ShopCart = () => import('@/pages/ShopCart')
// import WorthBuy from '@/pages/WorthBuy'
const WorthBuy = () => import('@/pages/WorthBuy')
// import Pay from '@/pages/Pay'
const Pay = () => import('@/pages/Pay')
// import Center from '@/pages/Center'
const Center = () => import('@/pages/Center')
// import Classify from '@/pages/Classify'
const Classify = () => import('@/pages/Classify')
// import Register from '@/pages/Register'
const Register = () => import('@/pages/Register')

export default [
  {
    path:'/center',
    component:Center,
  },
  {
    path:'/worthbuy',
    component:WorthBuy,
    meta:{
      isHidden:true
    }
  },
  {
    path:'/pay',
    component:Pay,
  },
  {
    path:'/shopcart',
    component:ShopCart,
    meta:{
      isHidden:true
    }
  },
  {
    path:'/detail/:skuId',
    component:Detail,
  },
  {
    path:'/home',
    component:Home,
    meta:{
      isHidden:true
    }
  },
  {
    path:'/login',
    component:Login,
    meta:{
      isHidden:true
    }
  },
  {
    path:'/classify',
    component:Classify,
    meta:{
      isHidden:true
    }
  },
  {
    path:'/register',
    component:Register
  },
  {
    path:'/',
    redirect:'/home',
  },
]